﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.App.Intrastructure.Interface
{
    public interface IBaseRepository<T>
    {
        Task<int> Add(T t);
        Task<int> Update(T t);
        Task<int> Delete(T t);
        IQueryable<T> GetAll();
        Task<T> GetValue(int id);
    }
}
